package com.cn.web.role.service;

import com.cn.page.PageVo;
import com.cn.role.RoleDO;
import com.cn.web.role.vo.RoleEditDTO;
import com.cn.web.role.vo.RoleSearch;
import com.cn.web.role.vo.RoleVO;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * description: RoleService <br>
 * date: 21.12.16 13:45 <br>
 * author: cn_yaojin <br>
 * version: 1.0 <br>
 */
public interface RoleService {
    void edit(RoleEditDTO roleEdit);

    void del(String id);

    PageInfo<RoleVO> page(PageVo<RoleSearch> pageVo);

    List<RoleVO> list(RoleSearch search);

    RoleEditDTO find(String id);


    void start(Long id, String status);

    List<RoleDO> listRoleByAppId(Object pd);
}
